package com.loan.repository;

import com.loan.entity.Category;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by huxudong on 17/7/1.
 */
public interface CategoryRepository extends JpaRepository<Category,Long> {

    public List<Category> findByFlagOrderBySort(Integer flag);
}
